﻿/*********************************************************************************
**                                                                              **
**  Copyright (C) 2024 LiLong                                                   **
**  This file is part of IonexFileReader.                                       **
**                                                                              **
**  IonexFileReader is free software: you can redistribute it and/or modify     **
**  it under the terms of the GNU General Public License as published by        **
**  the Free Software Foundation, either version 3 of the License, or           **
**  (at your option) any later version.                                         **
**                                                                              **
**  IonexFileReader is distributed in the hope that it will be useful,          **
**  but WITHOUT ANY WARRANTY; without even the implied warranty of              **
**  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               **
**  GNU General Public License for more details.                                **
**                                                                              **
**  You should have received a copy of the GNU General Public License           **
**  along with IonexFileReader. If not, see <https://www.gnu.org/licenses/>.    **
**********************************************************************************/
#pragma once

#ifdef BUILD_STATIC
#define IONEXFILEREADER_EXPORT
#else // BUILD_STATIC
#ifdef WIN32
#ifdef IONEXFILEREADER_LIB
#define IONEXFILEREADER_EXPORT __declspec(dllexport)
#else // IONEXFILEREADER_LIB
#define IONEXFILEREADER_EXPORT __declspec(dllimport)
#endif // IONEXFILEREADER_LIB
#else  // WIN32
#define IONEXFILEREADER_EXPORT
#endif // WIN32
#endif // BUILD_STATIC
